package com.sanbi.erp.core.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Desc:
 * @Data: 2022/8/9 9:12
 * @Author: WuHang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CartVo {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private String goodsSn;
    private String goodsName;
    private Integer productId;
    private String productSn;
    private Short number;
    private String[] specifications;
    private Boolean checked;
    private String picUrl;
    private LocalDateTime addTime;
    private LocalDateTime updateTime;
    private Boolean deleted;
    private Boolean goodsIsOnSale;//商品是否下架
    private Boolean goodsDeleted;//商品是否删除
    private Short numberOld;//购物车原价格
    private String warehouseSkuNo;//仓库货品sku编号
    private String warehouseShelfLocation;//仓库货架位置
    //购物车对应商品的货品
    private ProductDto productDto;
}
